home *** CD-ROM | disk | FTP | other *** search
- Path: god.bel.alcatel.be!btmpj6!ian
- From: ian@rsd.bel.alcatel.be (Ian Ward)
- Newsgroups: comp.lang.c
- Subject: Ada/C/C++ comparison (repeated) (was Re: C/C++ knocks the crap out of Ada)
- Date: 7 Feb 1996 15:38:22 GMT
- Organization: Alcatel Bell Telephone
- Distribution: world
- Message-ID: <4fah1e$jkp@btmpjg.god.bel.alcatel.be>
- References: <4f85h4$cml@hacgate2.hac.com>
- Reply-To: ian@rsd.bel.alcatel.be
- NNTP-Posting-Host: btmpj6.rsd.bel.alcatel.be
-
- I posted this earlier, sorry if anybody gets it twice,
- I think my site has had problems.
-
-
- Dear Ron Collins et al,
-
- Ada is free, (and one is based on one of the same code
- generating system as one of the C compilers you mention, GNU,
- so should run on just as many platforms,) it doesn't come much
- cheaper than that. It also very capable, I work here with
- both Ada and 'C', though just like 'C', I find you have to
- love it to be able to use it well. Go into any language (or
- operating system) biased against it and you will, firstly,
- not like it, and secondly, not produce very good code. I am
- learning C++ myself at the moment but was terribly tainted,
- initially, by some of the things I had heard about it. I
- don't think it is possible not to be.
-
- It has changed a lot since many people looked at it ten years
- ago, it is still easy to read, but it is now object oriented,
- provides access to the command line, stream input, pointers
- to functions, and a simple abstraction of many things that
- people used to need semaphores for. I think it even has a
- complete ISO typeset for Cobol, Fortran and 'C'.
-
- On the whole I would say that both 'C' and Ada meet their
- original design requirements well, and I would recommend
- having a look at it. I was thinking of butting into the
- 'C' or Pascal for beginners thread some time ago, but
- decided against it, on the grounds that many people who
- read here in comp.lang.c do not have much experience with
- Ada other than that which they have heard from people who
- used some of the early disastrous compilers ten years ago,
- (who voted with their feet.) I therefore did not mention
- Ada , even though in every conceivable way it is superior
- to Pascal, because of the slagging off I was bound to get.
-
- All the truly brilliant programmers I know, in addition to
- being gifted, have several languages under their belt, and
- often many different systems as well. One of them gave a good
- description of that relationship, he said (I paraphrase,) That:
-
- "Different languages provide different abstractions to problems,
- and more viewpoints one can look at a problem from; the more
- likely a complete solution will be seen for it. To not just
- know, but to be fluent in different abstractive languages,
- forces programmers to think in different ways of doing things,
- (which is hard, and why people are resistive to doing it.)
- This is why everybody should, from time to time, do nothing
- but testing, because designers are good at specifying what
- they want to happen, but only brilliant designers also think
- about ruling out the side effects, which they clearly don't
- want to happen"
-
- I am not so sure about doing testing :-), but the above
- description certainly describes why a second pair of eyes
- sometimes sees the wood from the trees, and it also
- describes why it takes me two weeks to start thinking in
- Lisp after using just about anything else. It also explains
- why really good programmers in one language, find it hard
- to learn another, sometimes. It is much less of a swing
- from mediocre in one language abstraction to mediocre in
- another language, than it is from brilliant in one language
- to brilliant in another. Though usually when they get there,
- these people make even less mistakes than they would have
- in both languages, than they would have had they devoted all
- their time to just either one. A lot of people just give up
- though, rather than going the distance.
-
- So I would seriously recommend anybody having a look over
- Magnus Kempe's web server in Switzerland,
- : http://lglwww.efpl.ch/Ada which just got a good review.
-
- Bear in mind that it is not 'C' of course, and you must take the
- "Ada saves 99.5% processing time" article with tongue loosely in
- cheek, (the hardware changed at the same time as the
- software, I think). There's not a twisted word of a lie
- anywhere else on the site, though, as far as I can see. You
- may even, in the FAQ's see the comment that started this
- whole thread off. I couldn't possibly comment of course,
- I'll take the fifth, life's just too short to have to
- deal with nutters.
-
- People who write sub 1000 line applications every day,
- and never have to maintain them, probably won't see that
- much in this new Ada to get excited about, it can be an
- unexciting language at the best of times.
-
- Software written in it does work though, and well at
- that. Speaking as somebody who works with both C and Ada
- everyday, C++/C simply cannot kick the crap out of it,
- not in my experience.
-
- Have a good one, sorry about the long letter, but I got
- there in the end.
-
- Ian.
-
- Probably Ian's opinions only, but shared by anyone who
- agrees with him.
-
-
-
-
-